<?php
FLEA::loadClass('TMIS_TableDataGateway');
class Model_Jichu_Kuwei extends TMIS_TableDataGateway {
	var $tableName = "jichu_kuwei";
	var $primaryKey = "id";
	var $primaryName = "kuweiName";
    var $needCreateLog = true;// 需要打日志则加此参数
    var $moduleName = '库位管理';// 模块名称


	//所有库位
	function getOptions(){
		$rows = $this->findAll();
		foreach($rows as & $v){
			$arr[]=array('value'=>$v[$this->primaryKey],'text'=>$v[$this->primaryName]);
		}
		return $arr;
	}
}
?>